package com.emmmya.ocs.modules.system.setting.entity;

import com.emmmya.harinCheck.annotation.Check;
import lombok.Data;

import javax.activation.DataSource;
import java.util.Map;

@Data
public class Email {
    @Check(name="收件人")
    private String[] to;
    @Check(name="标题")
    private String title;
    @Check(name="内容")
    private String content;
    @Check(name="抄送")
    private String bbc;

    @Check(name="附件")
    private Map<String, DataSource> attachments;
}
